import weather
import openpyxl

data_list = weather.get_list_info()
print(data_list)
workbook = openpyxl.Workbook()
sheet = workbook.create_sheet("景点天气")
for item in data_list:
    sheet.append(item)
workbook.save("景点天气.xlsx")
